import Vue from 'vue'
import Router from 'vue-router'
import Hello from 'components/Hello'
import about from 'components/about'
import HelloFromVux from 'components/HelloFromVux'
import home from 'components/home'

Vue.use(Router)

const router = new Router({
  routes: [
    {
      path: '/Hello',
      name: 'Hello',
      component: Hello
    },{
      path: '/about',
      name: 'about',
      component: about
    },{
      path: '/home',
      name: 'home',
      component: home
    }
  ]
})
// 输出router
export default router;
